
<template>
  <br>
  <span>count:{{count}}</span>
  <br>
  <button @click="test">测试</button>
  <p>
    json对象：{{JSON.stringify(json)}}
  </p>
  <p>reactive.name :{{reactiveObj.name}}</p>
</template>

<script setup>
  import {reactive} from "vue";

  function test() {
    alert("1111")
  }
  var count=10
  var json={
    name:'zouyang',
    sex:'man'
  }
  var reactiveObj=reactive(json)
</script>

<style scoped>

</style>